package demo.student;

public class RandomLetterChooser extends RandomStringChooser {
	public RandomLetterChooser(String str) {
		super(str.split(""));
		// wordlist = new ArrayList<String>();
		// for (int i = 0; i < str.length(); i++) {
		// wordlist.add(str[i]);
		// }
	}

	public static void main(String[] args) {

		RandomLetterChooser rlc = new RandomLetterChooser("cat");
		for (int i = 0; i < 4; i++) {
			System.out.println(rlc.getNext());
		}
	}
}
